package org.test.test1.service;

import org.springframework.stereotype.Service;
import org.test.test1.Result.Result;
import org.test.test1.dao.pojo.Employee;

//@Service
public interface EmployeeMapperService {

    //分页查询
    Result listEmployees(long currentPage,long pageSize);

    Result findAll();

    //findById
    Result findById(Integer id);
    //新增
    Result addEmployee(Employee employee);
    //修改
    void updateEmployee(Employee employee);

    void delEmployee(Integer id);

}
